<div class="left_content">
     <div class="title"><span class="title_icon"><img src="{$HOME_URL}/images/bullet1.gif" alt="" title="" /></span>Address Book</div>
     <div class="address_list_box">
       	
       <div class="address_form">
	    <div class="form_subtitle">Edit address</div>
	    <div class="form_row">
             <strong class="red">{$error_message}</strong>
         </div>
         
	    <form name="addAddress" action="" method="post" onSubmit="return check_form(addAddress);">
           <div class="form_row">
             <label class="contact"><strong>First Name:</strong></label>
             <input type="text" name="firstname" value="{$firstname}" class="contact_input" maxlength="32" />&nbsp;<span class="red">*</span>
           </div>
           <div class="form_row">
             <label class="contact"><strong>Last Name:</strong></label>
             <input type="text" name="lastname" value="{$lastname}" class="contact_input" maxlength="32" />&nbsp;<span class="red">*</span>
           </div>
            <div class="form_row">
             <label class="contact"><strong>Street:</strong></label>
             <input type="text" name="street" value="{$street}" class="contact_input" maxlength="64" />&nbsp;<span class="red">*</span>
           </div>
           <div class="form_row">
             <label class="contact"><strong>Zip Code:</strong></label>
             <input type="text" name="postcode" value="{$postcode}" class="contact_input" maxlength="9" />&nbsp;<span class="red">*</span>
           </div>
           <div class="form_row">
             <label class="contact"><strong>City:</strong></label>
             <input type="text" name="city" value="{$city}" class="contact_input" maxlength="32" />&nbsp;<span class="red">*</span>
           </div>
           
           <div class="form_row">
             <label class="contact"><strong>State/Province:</strong></label>
             {if $hasZone == 'yes'}
				<select name=zoneid style="height:22px; margin-top:0px;">
			  		{html_options options=$arrZones selected=$zoneid}
				</select>&nbsp;<span class="red">*</span>
			{else}
				<input type="text" name="state" value="{$state}" maxlength="32">&nbsp;<span class="red">*</span>
			{/if}
           </div>
           <div class="form_row">
             	<label class="contact"><strong>Country:</strong></label>
             	<select name="countryId" style="height:22px; margin-top:0px;" onChange="return submit();">
  					{html_options options=$arrCountries selected=$countryId}
				</select>
           </div>
           
           <div class="form_row">
           	<input type="hidden" name="action" value="init">
           	<input type="hidden" name="addressid" value="{$addressid}">
             <a href="{$HOME_URL}/addressBookList.php" class="continue">&lt; Back</a> 
        	<a href="javascript:addAddress.elements['action'].value='Submit'; addAddress.submit()" class="checkout" onclick="return check_form(addAddress);">Submit &gt;</a>
        	
           </div>
         </form>
	</div>
	
     </div>
     <div class="clear"></div>
</div>